<?php 
if (!isset($_SESSION)) session_start();
chdir("../activities");



$i = $_REQUEST["dev_id"];

file_put_contents("{$i}_comments.txt",$_REQUEST["dev_comments"] . "<br>", FILE_APPEND );
file_put_contents("{$i}_comments.txt", $_SESSION["username"] . " " . date("Y/n/j G:i") . "<br>", FILE_APPEND );
file_put_contents("{$i}_status.txt",$_REQUEST["dev_status"]);
file_put_contents("{$i}_files.txt",$_REQUEST["dev_files"]);
file_put_contents("{$i}_developer.txt", $_SESSION["username"]);
file_put_contents("{$i}_updated.txt", date("Y/n/j G:i"));
echo "Request updated"
?>